<include file="Public:header" />
<switch name="ACTION_NAME">
    <case value="edit">
    </case>
    <default />

    <div class="content-box"><!-- Start Content Box -->

        <div class="content-box-header">

            <h3>{$title}</h3>

            <ul class="content-box-tabs">
                <li><a href="#tab1" class="default-tab">列表</a></li> <!-- href must be unique and match the id of target div -->
            </ul>

            <div class="clear"></div>

        </div> <!-- End .content-box-header -->

        <div class="content-box-content">

            <div class="tab-content default-tab" id="tab1"> <!-- This is the target div. id must match the href of this div's tab -->
                <form name="proform" method="post" action="__URL__/batch">
                    <table>

                        <thead>
                            <tr>
                                <th><input class="check-all" type="checkbox" /></th>
                                <th>标题</th>
                                <th>分类</th>
                                <th>地区</th>
                                <th>发布时间</th>
                                <th>操作</th>
                            </tr>
                        </thead>



                        <tbody>
                        <volist name="Activity" id="p">
                            <tr>
                                <td><input name="id[]" type="checkbox" id="{$p.id}" value="{$p.id}"  /></td>
                                <td><a href="{$siteUrl}/activity/{$p.id}" title="view" target="_blank">{$p.title}</a></td>
                                <td>{$p.catename}</td>
                                <td>{$p.regionName}</td>
                                <td>{$p.posttime|date="Y-n-j H:i:s",###}</td>
                                <td>
                                    <a href="{$siteUrl}/activity/{$p.id}" title="view" target="_blank">查看</a>
                                    <a href="__URL__/batch/act/delete/id/{$p.id}" title="Delete">删除</a>
                                    <a href="__URL__/edit/id/{$p.id}" title="Edit Meta">审核</a>
                                </td>
                            </tr>
                        </volist>

                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="6">
                                    <div class="bulk-actions align-left">
                                        <select name="act">
                                            <option value="option1">请选择...</option>
                                            <option value="delete">删除</option>
                                            <option value="remove">移动</option>
                                        </select><input  class="button" type="submit" value="确定"  />

                                    </div>
                        <include file="Public:paging" />
                        <div class="clear"></div>
                        </td>
                        </tr>
                        </tfoot>
                    </table>
                </form>
            </div>

        </div> <!-- End .content-box-content -->

    </div> <!-- End .content-box -->
</switch>
<include file="Public:footer" />
